export default {
    path: '/room.html',
    name: 'room',
    component: resolve => require(['../views/room/index.vue'], resolve),
    meta: {
        title: '房主中心',
        requireAuth: true,
        userType: 'room'
    },
    children: [
        {
            path: '/r/center.html',
            name: 'room-center',
            component: resolve => require(['../views/room/center/index.vue'], resolve),
            meta: {
                title: '房主中心',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/manage.html',
            name: 'room-manage',
            component: resolve => require(['../views/room/manage/index.vue'], resolve),
            meta: {
                title: '房间管理',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/odds.html',
            name: 'room-odds',
            component: resolve => require(['../views/room/odds/index.vue'], resolve),
            meta: {
                title: '赔率设置',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/users.html',
            name: 'room-users',
            component: resolve => require(['../views/room/user/index.vue'], resolve),
            meta: {
                title: '房间在线用户',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/give.html',
            name: 'room-give',
            component: resolve => require(['../views/room/give_gold/index.vue'], resolve),
            meta: {
                title: '赠送金币',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/water.html',
            name: 'room-water',
            component: resolve => require(['../views/room/water/index.vue'], resolve),
            meta: {
                title: '房间流水',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/pay.html',
            name: 'room-pay',
            component: resolve => require(['../views/room/pay/index.vue'], resolve),
            meta: {
                title: '用户支出',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/handicap.html',
            name: 'room-handicap',
            component: resolve => require(['../views/room/handicap/index.vue'], resolve),
            meta: {
                title: '盘口设置',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/actor.html',
            name: 'room-actor',
            component: resolve => require(['../views/room/actor/index.vue'], resolve),
            meta: {
                title: '演员设置',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/p.html',
            name: 'room-p',
            component: resolve => require(['../views/user/upass/index.vue'], resolve),
            meta: {
                title: '修改密码',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/cash.html',
            name: 'room-cash',
            component: resolve => require(['../views/room/cashs/index.vue'], resolve),
            meta: {
                title: '资金提现',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/order.html',
            name: 'room-order',
            component: resolve => require(['../views/room/order/index.vue'], resolve),
            meta: {
                title: '下注记录',
                requireAuth: true,
                userType: 'room'
            }
        },
        {
            path: '/r/claim.html',
            name: 'room-claim',
            component: resolve => require(['../views/room/claim/index.vue'], resolve),
            meta: {
                title: '索取金币',
                requireAuth: true,
                userType: 'room'
            }
        }
    ]
}